
import { Body, Controller, Get,Post } from '@nestjs/common';
import { MessageService } from 'src/services/message/message.service'
import { IMessage } from 'src/types/message.interface';
import HttpResponse from 'src/types/http.response.interface';

type UnionType = IMessage[] | IMessage;


@Controller('message')
export class MessageController {
    //等价于上面的写法
    constructor(private readonly  messageService:MessageService){

    }


}
